Use { 0, } for structure initialization rather than memset()
authorColin Walters <walters@verbum.org>
Sat, 17 Aug 2013 11:59:23 +0000 (07:59 -0400)
committerColin Walters <walters@verbum.org>
Sun, 18 Aug 2013 11:20:46 +0000 (07:20 -0400)
commiteaee309112cc84909e4961e6dfded1fcafdf90bd
treee0cf41dce2970d6562053b3afeb7301c31d3813b
parent5f905024823f4a0c203f09831c4c094345fa2ce6
Use { 0, } for structure initialization rather than memset()

It's cleaner, safer, and I had a totally wrong idea stuck in my head
about why memset() should be used.

https://bugzilla.gnome.org/show_bug.cgi?id=705968
src/libostree/ostree-repo-prune.c
src/libostree/ostree-repo-pull.c
src/ostree/ot-admin-deploy.c
src/ostree/ot-builtin-checksum.c
src/ostree/ot-builtin-pull-local.c
src/ostree/ot-builtin-trivial-httpd.c